package sicnu.cs.ich.activity.domain;

import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

/**
 * 活动点赞和评论量
 * @author 黎琦
 * @date 2021/12/7 18:53
 **/
@Document(collection = "activity_like")
@Data
@Builder
public class ActivityLike implements Serializable {

    @Id
    private Integer aid;
    private List<Integer> uidList;
    /**
     * 评论数
     */
    private Long commentNum;
    /**
     * 点赞数量
     */
    private Long responseNum;
}